/*
 * @Descripttion:
 * @version:
 * @Author: kl2018
 * @Date: 2020-03-17 09:11:31
 * @LastEditors: kl2018
 * @LastEditTime: 2020-08-18 09:58:03
 */
import React, { Component } from 'react';
// import BaseTableComp from "./common/BaseTableComp";
// import { WeaLocaleProvider, WeaDialog, WeaAlertPage } from "ecCom";
// import { toJS } from "mobx";
import { hashHistory } from 'react-router';

// const { getLabel } = WeaLocaleProvider

class TrackingWorkflowComp extends Component {
  constructor(props) {
    super(props);
    hashHistory.replace({
      pathname: '/main/offical/customPage',
      query: {
        customListId: -4,
        ...props.location.query,
      },
    });
  }

  render() {
    return (<span />);
  }
}

export default props => <TrackingWorkflowComp ecId={`${this && this.props && this.props.ecId || ''}_TrackingWorkflowComp@q04j3g`} {...props} key={props.location.query.officalType || '0'} />;
